package com.company.demo.factory_pattern;

public class Power implements Operater {
    @Override
    public double operater(double A, double B) {
        return Math.pow(A, B);
    }
}
